﻿<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta name="renderer" content=”webkit|ie-comp|ie-stand”/>
    <meta name="viewport" content="width=device-width"/>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <link rel="icon" href="/favicon.ico">

    <title>预算分配</title>
    <link href="/assets/plugins/pace/pace-theme-minimal.css" rel="stylesheet"/>
    <link href="/assets/plugins/font/css/font-awesome.min.css" rel="stylesheet"/>
    <link href="/assets/plugins/bootstrap/bootstrap.min.css" rel="stylesheet"/>

    <script src="/assets/plugins/pace/pace.min.js"></script>
    <script src="/assets/plugins/jquery/jquery-1.10.2.min.js"></script>
    <script src="/assets/plugins/bootstrap/bootstrap.min.js"></script>
    <script src="/assets/plugins/jquery/plugin/jqprint/jquery.jqprint-0.3.js"></script>


    <link href="/module/style/lr-common.css" rel="stylesheet"/>
    <link href="/module/plugin/scroll/scroll.css" rel="stylesheet"/>
    <link href="/module/style/lr-iframe-index.css" rel="stylesheet"/>
    <link href="/module/plugin/layout/lr-layout.css" rel="stylesheet"/>
    <link href="/module/plugin/tree/lr-tree.css" rel="stylesheet"/>
    <link href="/module/plugin/select/lr-select.css" rel="stylesheet"/>

    <link href="/module/plugin/timeline/lr-timeline.css" rel="stylesheet"/>
    <link href="/module/plugin/formselect/lr-formselect.css" rel="stylesheet"/>
    <link href="/module/plugin/custmerquery/lr-custmerquery.css" rel="stylesheet"/>
    <link href="/module/plugin/date/lr-datepicker.css" rel="stylesheet"/>
    <link href="/module/plugin/grid/jfgrid.css" rel="stylesheet"/>

    <script src="/assets/plugins/laydate/laydate.js"></script>
    <!--[if lt IE 9]>
    <script src="/assets/plugins/bootstrap/html5shiv.min.js"></script>
    <script src="/assets/plugins/bootstrap/respond.min.js"></script>
    <![endif]-->
    <script src="/module/formatMoney.js"></script>
    <script>
        function request(d) {
            for (var c = location.search.slice(1).split("&"), a = 0; a < c.length; a++) {
                var b = c[a].split("=");
                if (b[0] == d) if ("undefined" == unescape(b[1])) break; else return unescape(b[1])
            }
            return ""
        };
    </script>

</head>

<body class="Chrome 64.0 lr-uitheme-top">

<div id="lr_layout" class="lr-layout lr-layout-left-center" style="padding-left:121px;">
    <div class="lr-layout-left" style="width:110px; ">
        <div class="lr-layout-wrap" style="padding-top:10px;width:110px; ">
            <div class="lr-layout-body">
                <ul class="lr-left-list" id="lr_left_list">
                    <li class="active  lrlg" data-value="1">A库</li>
                    <li data-value="2" class="lrlg">B库</li>
                </ul>
            </div>
        </div>
    </div>
    <div class="lr-layout-center">
        <div name="form" class="lr-layout-wrap lr-layout-wrap-notitle">
            <div class="lr-layout-tool">
                <div class="lr-layout-tool-left">
                    <div class="lr-layout-tool-item">
                        <div id="multiple_condition_query">
                            <div class="lr-query-formcontent">
                            </div>
                        </div>
                    </div>
                    <div class="lr-layout-tool-item">
                        <input id="year" style="width: 80px;" readonly="readonly" placeholder="请选择年度"
                               onclick="WdatePicker({dateFmt:'yyyy',qsEnabled:false,isShowClear:false,isShowToday:false,onpicked:function(){$('#year').trigger('change');}})"
                               type="text" class="form-control lr-input-wdatepicker" autocomplete="off">
                    </div>
                    <div class="lr-layout-tool-item">
                        <input id="txt_Keyword" type="text" class="form-control" placeholder="关键字"
                               style="margin-left: 8px;width:120px;"/>
                    </div>
                    <div class="lr-layout-tool-item">
                        <a id="btn_Search" class="btn btn-primary btn-sm"><i class="fa fa-search"></i>&nbsp;<span
                                class="lrlg">查询</span></a>
                    </div>

                </div>
                <div class="lr-layout-tool-right">
                    <div class=" btn-group btn-group-sm">
                        <a id="lr_refresh" class="btn btn-default"><i class="fa fa-refresh"></i></a>
                    </div>
                    <div class=" btn-group btn-group-sm" learun-authorize="yes">
                        <a id="lr_allocation" class="btn btn-default"><i class="fa fa-pie-chart"></i>&nbsp;<span
                                class="lrlg">预算分配</span></a>
                        <a id="lr_view" class="btn btn-default"><i class="fa fa-eye"></i>&nbsp;<span
                                class="lrlg">查看分配</span></a>
                    </div>
                </div>
            </div>

            <div class="lr-layout-body" id="div_a">
                <div class="col-xs-12" style="border-right: 1px solid #ddd;">
                    <div class="lr-layout-body" id="gridtable_a"></div>
                </div>
<!--                <div class="col-xs-4">-->
<!--                    <div id="chart_a" style="width: 100%; height: 600px;overflow-y: auto; overflow-x:hidden;">分布图</div>-->
<!--                </div>-->
            </div>

            <div class="lr-layout-body" id="div_b" style="display: none">
                <div class="col-xs-8" style="border-right: 1px solid #ddd;">
                    <div class="lr-layout-body" id="gridtable_b"></div>
                </div>
                <div class="col-xs-4">
                    <div id="chart_b" style="width: 100%; height: 600px;overflow-y: auto; overflow-x:hidden;">分布图</div>
                </div>
            </div>

        </div>
    </div>
</div>

<script src="index.js"></script>

<script src="/module/config.js"></script>
<script src="/module/plugin/resize/resize.js"></script>
<script src="/module/plugin/mousewheel/mousewheel.js"></script>
<script src="/module/plugin/layout/lr-layout.js"></script>
<script src="/module/plugin/scroll/scroll.js"></script>
<script src="/module/plugin/tree/lr-tree.js"></script>
<script src="/module/plugin/select/lr-select.js"></script>
<script src="/module/plugin/timeline/lr-timeline.js"></script>
<script src="/module/plugin/formselect/lr-formselect.js"></script>
<script src="/module/plugin/date/lr-datepicker.js"></script>
<script src="/module/plugin/grid/jfgrid.js"></script>
<script src="/module/script/lr-validator.js"></script>
<script src="/module/script/lr-authorize.js"></script>
<script src="/module/script/lr-excel.js"></script>
<script src="/module/script/lr-form.js"></script>
<script src="/assets/plugins/echarts/echarts.min.js"></script>

<script>
    var lrModuleButtonList;
    var lrModuleColumnList;
    var lrModule;
    $(function () {
        $('#lr_layout').lrLayout();


        top.learun.httpAsync('GET', config.base_server() + 'menus/findByPath?path=' + window.location.pathname + '&access_token=' + config.getToken().access_token, null, function (data) {
            lrModuleButtonList = data.btns;
            lrModuleColumnList = data.cols;
            lrModule = data;
            if (!!window.bootstrap) {
                bootstrap(jQuery, top.learun);
            }
        });


    });
</script>
</body>

</html>


